correctDateOffset

Corrects the date offset by adding one day to the provided date in milliseconds.

Return

The adjusted date in milliseconds, or null if the input is null.

Parameters

date

The date in milliseconds to adjust.